constraint layout: Measure min/nat size separately
authorMatthias Clasen <mclasen@redhat.com>
Fri, 28 Jun 2019 23:00:34 +0000 (23:00 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Sun, 30 Jun 2019 23:10:11 +0000 (00:10 +0100)
commit3f36340921c5cbaeacf1818e8d4b2934ab87e567
tree21aed4b338280cfef034ce9a71b4850c06cdab81
parentb1f0f4478e31fb249140503bb052ceb0825a96de
constraint layout: Measure min/nat size separately

Only constraint the opposite direction if we
actually have a for_size, and measure natural
size after removing the edit constraints. With
these changes, the test that compares constraint
layout to grid layout passes.
gtk/gtkconstraintlayout.c